Scratch x M5Stack: M5Scratch and M5bitLess
https://scrapbox.io/files/667516d1aa4da6001c7e5167.svg
I have two projects to use Scratch and M5Stack named M5Scratch and M5bitLess.
To use these system, you can use physical sensors such like accel, button, temperature, audio, and so on.
Also you can use actuators such like display, LED, and so on.
This page introduce these projects.
M5Stack: Cute and Powerful microcontroler!!
https://gyazo.com/8325422539f9ed1e709fcf12290115cf
M5Stack: All in microcomputer series. Display, Button, Battery is packaged.
Extension mechanizm called Unit, Hat etc.
Development environment:
UIFlow 1,2: Block programming. Hardware feature
CPU: ESP32 etc.
Display:
320x240TFT(Core,Core2)
80×160TFT(M5StickC)
135x240TFT(C Plus, C Plus2)
5x5 Full color matrix LED(ATOM Matrix)
Battery:
150mAh(Core)
390mAh(Core2)
80 or 95mAh(C)
120mAh(C Plus)
200mAh(C Plus2)
Network: Wi-Fi(2.4G) + BLE
Sensors: Accelrameter、Gyro、Button switch、Temperature, etc.
Audio: Microphone, Speaker, Buzzer.
I/O: Grove A(I2C), B(A/D,GPIO), C(UART), M-BUS etc.
Optional: Watch band, LEGO mount, Keyboard, etc.
What is M5Scartch for Scratch 1.4?
https://scrapbox.io/files/6674da0305aeb5001db2cc6c.svg
M5Scratch is program for interacting Scratch 1.4 and M5Stack.
To interact each other, it uses Scratch Remote Sensor Protocol.
Remote Sensor Protocol has two command.
sensor-update var_name var_value: send and receive data named var_name and value var_value.
broadcast event: send and receive event named event.
It's written in Arduino.
What is M5bitLess for Scratch 3?
https://scrapbox.io/files/6674e2dfb37ce0001c670b7e.svg
M5Scratch is program for interacting Scratch 3 + Microbit More extension and M5Stack.
To interact each other, it uses Microbit More extension.
It's written in Arduino.
M5bitLess is program which emulate micro:bit features for Microbit More.
M5bitLess support blocks below:
https://scrapbox.io/files/65af35300a4ad30024cc4738.svg
Conclusion
I introduce M5Scratch and M5bitLess.
These systems can interact Scratch and M5Stack.
Using these system, Scratch can use physical world value such as accel, button, temperature, audio, and so on.